package com.glp.work.flow.demo.service;

import com.github.pagehelper.PageInfo;
import com.glp.common.reponse.BaseResult;
import com.glp.work.flow.pojo.UserDemo;
import com.glp.work.flow.request.WfOrderQueryDTO;
import com.glp.work.flow.response.WfOrderResultDTO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserDemoService {
    /** 代办列表
     * @MethodName: userDemoAgency
     * @Description: TODO
     * @Param: []
     * @Return: com.glp.common.reponse.BaseResult
     * @Author: ywguo
     * @Date: 2020/6/2
     **/
    PageInfo<WfOrderResultDTO> userDemoAgencyList(WfOrderQueryDTO wfOrderQueryDTO);


    /** 已办列表
     * @MethodName: userDemoAgency
     * @Description: TODO
     * @Param: []
     * @Return: com.glp.common.reponse.BaseResult
     * @Author: ywguo
     * @Date: 2020/6/2
     **/
    PageInfo<WfOrderResultDTO> userDemoDone(WfOrderQueryDTO wfOrderQueryDTO);

    /** 添加一个事件流
     * @MethodName: inserUserDemo
     * @Description: TODO
     * @Param: [userDemo]
     * @Return: java.lang.String
     * @Author: ywguo
     * @Date: 2020/6/2
     **/
    String inserUserDemo(UserDemo userDemo);
}
